import Toast from './Toast'
import { toast, errorFunc, success, warning, info } from './createInstants'
Toast.install = function (Vue) {
  Vue.component(Toast.name, Toast)
  Vue.prototype.$toast = toast
  Vue.prototype.$toast.error = errorFunc
  Vue.prototype.$toast.success = success
  Vue.prototype.$toast.warning = warning
  Vue.prototype.$toast.info = info
}
export default Toast
